Class symantec.itools.db.beans.brl.adapter.editors.ValidColBeanTypeEditor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.adapter.editors.ValidColBeanTypeEditor

Object
   |
   +----PropertyEditorSupport
           |
           +----symantec.itools.db.beans.brl.adapter.editors.ValidColBeanTypeEditor

public class ValidColBeanTypeEditor
extends PropertyEditorSupport
ValidColBeanTypeEditor is the property editor used for specifying the type of validation business rule to be used.

Version:
1.0 07/24/98
Author:
Puru Balakrishnan

Constructor Index

 o symantec.itools.db.beans.brl.adapter.editors.ValidColBeanTypeEditor()

Method Index

 o getAsText()
return the property value as a text
 o getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property.
 o getTags()
getTags() method
 o setAsText(String)
setAsText() method

Constructors

 o ValidColBeanTypeEditor
public ValidColBeanTypeEditor()

Methods

 o getAsText
public java.lang.String getAsText()
return the property value as a text

Returns:
the value as text
Overrides:
getAsText in class PropertyEditorSupport
 o getJavaInitializationString
public java.lang.String getJavaInitializationString()
This method is intended for use when generating Java code to set the value of the property. It should return a fragment of Java code that can be used to initialize a variable with the current property value.

Example results are "2", "new Color(127,127,34)", "Color.orange", etc.

Returns:
A fragment of Java code representing an initializer for the current value.
Overrides:
getJavaInitializationString in class PropertyEditorSupport
 o getTags
public java.lang.String[] getTags()
getTags() method

Returns:
array of tags
Overrides:
getTags in class PropertyEditorSupport
 o setAsText
public void setAsText(String text) throws IllegalArgumentException
setAsText() method

Parameters:
text - set to String
Overrides:
setAsText in class PropertyEditorSupport

All Packages  Class Hierarchy  This Package  Previous  Next  Index